home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Fpipe(2) Oct. 1, 1991 Fpipe(2)
-
-
- N✓NA✓AM✓ME✓E
- Fpipe - create a pipe
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- LONG Fpipe( WORD usrh[2] );
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- _✓F_✓p_✓i_✓p_✓e creates a pipe that may be used for interprocess
- communication. If it is successful, two GEMDOS handles are
- returned in usrh[0] and usrh[1]. usrh[0] will contain a
- handle for the read end of the pipe, (opened for reading
- only), and usrh[1] will contain a handle for the write end
- of the pipe (opened for writing only).
-
- The created pipe has the name "sys$pipe.xxx", where "xxx"
- is a three digit integer.
-
- U✓US✓SA✓AG✓GE✓E
- Typically used by shells; the shell redirects its standard
- input (or standard output) to the read (or write) end of
- the pipe using _✓F_✓d_✓u_✓p and _✓F_✓f_✓o_✓r_✓c_✓e before launching a child;
- the child will then read from (or write to) the pipe by
- default.
-
- R✓RE✓ET✓TU✓UR✓RN✓NS✓S
- 0 if successful
-
- ENHNDL if there are not 2 free handles to allocate for the
- pipe
-
- ENSMEM if there is not enough free memory to create the
- pipe
-
- EACCDN if too many pipes already exist in the system
-
- B✓BU✓UG✓GS✓S
- There cannot be more than 999 open pipes in the system at
- one time.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Version 0.9 MiNT Programmer's Manual 1
-
-
-